package com.xiyou.luckdraw.api.dal.entitys;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AnswerBank
 * @Description: 答卷题目实体类
 * @author: limingxing
 * @Date: 2019-10-08 20:27
 */
@Data
@ToString
@Table(name = "answer_bank")
public class AnswerBank implements Serializable {
    private Integer id;
    /*题目*/
    private String answerTitle;
    /*选项A*/
    private String A;

    /*选项B*/
    private String B;

    /*选项C*/
    private String C;

    /*选项D*/
    private String D;

    /*选项E*/
    private String E;

    /*正确答案(当前只支持单选)*/
    private Long correctAnswer;

    /*0：默认 1:启用,2：弃用*/
    private Long status;

    /*上传用户  0：表示系统*/
    private Long userId;

    /*创建时间*/
    private Date createTime;

    /*变更时间*/
    private Date modifyTime;

    /*答题等级 0：默认,1:难,2*/
    private Long level;

}
